package com.plugin.storage.storage.conf;

import com.plugin.storage.conf.SdkConfig;
import com.plugin.storage.storage.Storage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(SdkConfig.class)
public class DefaultStorageConfiguration {

    private static final Logger LOGGER = LoggerFactory.getLogger(DefaultStorageConfiguration.class);

    @Bean
    public Storage storage() {
        return new Storage();
    }

}
